package com.jxx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import lombok.experimental.Accessors;

@JsonIgnoreProperties(ignoreUnknown=true) //表示JSON转化时忽略未知属性
@TableName("admin_security")
@Data
@Accessors(chain=true)
public class AdminSecurity extends BasePojo{
    @TableId(type = IdType.AUTO)
    private Integer securityId;     //密保编号
    @TableId
    private Integer adminId;        //管理员编号
    private String securityQuestion;//密保问题
    private String securityAnswer;  //密保答案
}
